home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 14017 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  772 b 

  1. Path: il.ft.hse.nl!not-for-mail
  2. From: robert@il.ft.hse.nl (robert)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Help trapping stdout from Unix system() call
  5. Date: 11 Apr 1996 12:47:15 +0200
  6. Organization: LSD...melts in your mind, not in your hand
  7. Message-ID: <4kinvj$gpe@charm.il.ft.hse.nl>
  8. References: <DpnGsD.Mo2@ul.ie> <316BBED5.6201@wight.hursley.ibm.com>
  9. NNTP-Posting-Host: charm.il.ft.hse.nl
  10.  
  11. max-lton@tcp.co.uk:
  12.  >I tried a quick prog. Perror() is definitely the way to go. It runs
  13.  >its progs in a bsh, which I assume is the same as sh. Undestanding this,
  14.  >I did the call :
  15.  >perror( "find /tmp -print 2>1", "r" )
  16.  >but this didn't work either. So I'm no help really.
  17.  
  18. You mean popen() ofcourse :)
  19.  
  20.                                                                 robert 
  21.